Device and method for supporting plurality of sims in wireless communication system

ABSTRACT

An electronic device is disclosed. In addition, various embodiments recognized through the specification are possible. The electronic device includes a communication module, a processor operatively connected with the communication module, and a memory operatively connected with the processor. The memory includes instructions, when executed by the processor, causing the processor to receive information associated with a SIM of another electronic device from the other electronic device via the communication module, receive a user input requesting a voice call for a first SIM of the other electronic device, and transmit a message requesting a voice call for a second SIM of the other electronic device to an IMS server via the communication module based on the information associated with the SIM.

TECHNICAL FIELD

Embodiments disclosed in the disclosure relate to an apparatus andmethod for supporting a plurality of subscriber identification modules(SIMs) in a wireless communication system.

BACKGROUND ART

To improve sound quality and efficiency of a voice call over a circuitswitched (CS) network, a voice over internet protocol (VoIP) technologybased on an internet protocol (IP) has been widely used. Unlike a CSmode, voices may be exchanged through data packets in the VoIPtechnology. The VoIP technology is applicable to various networkplatforms based on a packet data network. For example, for VoIP in longterm evolution (LTE) wireless communication, voice over LTE (VoLTE) maybe used.

An electronic device supporting a voice call function may include anidentification module to provide a user with various services such asuser authentication, billing, and a security function. Theidentification module may include, for example, a subscriberidentification module (SIM). The electronic device may include a singleSIM or may include a plurality of SIMs such as a dual SIM.

DISCLOSURE Technical Problem

When an electronic device supports a dual SIM, for example, a first SIMmay support a CS mode and a second SIM may support a VoIP technology.For another example, both the first SIM and the second SIM may supportthe VoIP technology. A technology where both the first SIM and thesecond SIM use VoLTE may be referred to as dual VoLTE. In the dual VoLTEtechnology, the first SIM and the second SIM may use the same radiofrequency (RF) resource.

Because an RF resource is used during a voice call using the first SIMwhen the electronic device supports the dual SIM and the dual VoLTE,although another electronic device requests a voice call using thesecond SIM, there may be a problem in which it is impossible for theelectronic device to receive a request message.

In various embodiments of the disclosure, as an electronic devicetransmits information associated with a SIM which is in use by theelectronic device to another electronic device, the other electronicdevice may request a voice call through the SIM which is in use by theelectronic device among a plurality of SIMs.

In various embodiments of the disclosure, as the information associatedwith the SIM includes data indicating whether to release a phone numbercorresponding to the SIM, the electronic device may fail to provideanother user with the phone number for the SIM when a user does not wantto release the phone number.

Technical Solution

In accordance with an aspect of the disclosure, an electronic device isprovided. The electronic device may include a communication module, aprocessor operatively connected with the communication module, and amemory operatively connected with the processor. The memory may includeinstructions, when executed by the processor, causing the processor toreceive information associated with a subscriber identification module(SIM) of another electronic device from the other electronic device viathe communication module, receive a user input requesting a voice callfor a first SIM of the other electronic device, and transmit a messagerequesting a voice call for a second SIM of the other electronic deviceto an internet protocol multimedia subsystem (IMS) server via thecommunication module based on the information associated with the SIM.

In accordance with another aspect of the disclosure, an electronicdevice is provided. The electronic device may include a first SIM, asecond SIM, a communication module, a processor operatively connectedwith the first SIM, the second SIM, and the communication module, and amemory operatively connected with the processor. The memory may includeinstructions, when executed by the processor, causing the processor toreceive a user input changing from the first SIM to the second SIM,transmit information associated with the second SIM to anotherelectronic device via the communication module, and receive a messagerequesting a voice call for the second SIM from an IMS server via thecommunication module.

In accordance with another aspect of the disclosure, a method of anelectronic device is provided. The method may include receivinginformation associated with a SIM of another electronic device from theother electronic device, receiving a user input requesting a voice callfor a first SIM of the other electronic device, and transmitting amessage requesting a voice call for a second SIM of the other electronicdevice to an IMS server based on the information associated with theSIM.

Advantageous Effects

According to various embodiments disclosed in the disclosure, theelectronic device may transmit information about a changed SIM toanother electronic device, thus receiving a voice call request messagefrom the other electronic device during a voice call in a dual SIM anddual VoLTE environment.

According to various embodiments disclosed in the disclosure, theelectronic device may set whether to release information associated witha SIM, thus selectively providing a user of another electronic devicewith information about a plurality of SIMs.

In addition, various effects ascertained directly or indirectly throughthe present disclosure may be provided.

DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram illustrating an electronic device in a networkenvironment according to various embodiments;

FIG. 2 illustrates a network environment supporting a dual SIM accordingto various embodiments;

FIG. 3 illustrates a structure of layers for processing a VoIPtechnology according to various embodiments;

FIG. 4 illustrates a signal sequence diagram of an electronic device,which transmits information associated with a SIM, and anotherelectronic device according to various embodiments;

FIG. 5 illustrates an operational flowchart of an electronic device fortransmitting information associated with a SIM according to variousembodiments;

FIG. 6 illustrates a user interface (UI) for setting whether to releaseinformation associated with a SIM according to various embodiments;

FIG. 7 illustrates an operational flowchart of an electronic device fortransmitting a voice call request message based on informationassociated with a SIM according to various embodiments;

FIG. 8 illustrates an operational flowchart of an electronic device forstoring information associated with a second SIM according to variousembodiments;

FIG. 9 illustrates an operational flowchart of an electronic device forselectively displaying information associated with a second SIMaccording to various embodiments; and

FIG. 10 illustrates an operation of displaying a phone number for asecond SIM according to various embodiments.

With regard to description of drawings, the same or similar denotationsmay be used for the same or similar components.

MODE FOR INVENTION

Hereinafter, various embodiments of the disclosure may be described withreference to the accompanying drawings. However, it should be understoodthat this is not intended to limit the disclosure to specificimplementation forms and includes various modifications, equivalents,and/or alternatives of embodiments of the disclosure.

FIG. 1 is a block diagram illustrating an electronic device 101 in anetwork environment 100 according to various embodiments. Referring toFIG. 1, the electronic device 101 in the network environment 100 maycommunicate with an electronic device 102 via a first network 198 (e.g.,a short-range wireless communication network), or an electronic device104 or a server 108 via a second network 199 (e.g., a long-rangewireless communication network). According to an embodiment, theelectronic device 101 may communicate with the electronic device 104 viathe server 108. According to an embodiment, the electronic device 101may include a processor 120, memory 130, an input device 150, a soundoutput device 155, a display device 160, an audio module 170, a sensormodule 176, an interface 177, a haptic module 179, a camera module 180,a power management module 188, a battery 189, a communication module190, a subscriber identification module (SIM) 196, or an antenna module197. In some embodiments, at least one (e.g., the display device 160 orthe camera module 180) of the components may be omitted from theelectronic device 101, or one or more other components may be added inthe electronic device 101. In some embodiments, some of the componentsmay be implemented as single integrated circuitry. For example, thesensor module 176 (e.g., a fingerprint sensor, an iris sensor, or anilluminance sensor) may be implemented as embedded in the display device160 (e.g., a display).

The processor 120 may execute, for example, software (e.g., a program140) to control at least one other component (e.g., a hardware orsoftware component) of the electronic device 101 coupled with theprocessor 120, and may perform various data processing or computation.According to one embodiment, as at least part of the data processing orcomputation, the processor 120 may load a command or data received fromanother component (e.g., the sensor module 176 or the communicationmodule 190) in volatile memory 132, process the command or the datastored in the volatile memory 132, and store resulting data innon-volatile memory 134. According to an embodiment, the processor 120may include a main processor 121 (e.g., a central processing unit (CPU)or an application processor (AP)), and an auxiliary processor 123 (e.g.,a graphics processing unit (GPU), an image signal processor (ISP), asensor hub processor, or a communication processor (CP)) that isoperable independently from, or in conjunction with, the main processor121. Additionally or alternatively, the auxiliary processor 123 may beadapted to consume less power than the main processor 121, or to bespecific to a specified function. The auxiliary processor 123 may beimplemented as separate from, or as part of the main processor 121.

The auxiliary processor 123 may control at least some of functions orstates related to at least one component (e.g., the display device 160,the sensor module 176, or the communication module 190) among thecomponents of the electronic device 101, instead of the main processor121 while the main processor 121 is in an inactive (e.g., sleep) state,or together with the main processor 121 while the main processor 121 isin an active state (e.g., executing an application). According to anembodiment, the auxiliary processor 123 (e.g., an image signal processoror a communication processor) may be implemented as part of anothercomponent (e.g., the camera module 180 or the communication module 190)functionally related to the auxiliary processor 123.

The memory 130 may store various data used by at least one component(e.g., the processor 120 or the sensor module 176) of the electronicdevice 101. The various data may include, for example, software (e.g.,the program 140) and input data or output data for a command relatedthereto. The memory 130 may include the volatile memory 132 or thenon-volatile memory 134.

The program 140 may be stored in the memory 130 as software, and mayinclude, for example, an operating system (OS) 142, middleware 144, oran application 146.

The input device 150 may receive a command or data to be used by othercomponent (e.g., the processor 120) of the electronic device 101, fromthe outside (e.g., a user) of the electronic device 101. The inputdevice 150 may include, for example, a microphone, a mouse, a keyboard,or a digital pen (e.g., a stylus pen).

The sound output device 155 may output sound signals to the outside ofthe electronic device 101. The sound output device 155 may include, forexample, a speaker or a receiver. The speaker may be used for generalpurposes, such as playing multimedia or playing record, and the receivermay be used for an incoming calls. According to an embodiment, thereceiver may be implemented as separate from, or as part of the speaker.

The display device 160 may visually provide information to the outside(e.g., a user) of the electronic device 101. The display device 160 mayinclude, for example, a display, a hologram device, or a projector andcontrol circuitry to control a corresponding one of the display,hologram device, and projector. According to an embodiment, the displaydevice 160 may include touch circuitry adapted to detect a touch, orsensor circuitry (e.g., a pressure sensor) adapted to measure theintensity of force incurred by the touch.

The audio module 170 may convert a sound into an electrical signal andvice versa. According to an embodiment, the audio module 170 may obtainthe sound via the input device 150, or output the sound via the soundoutput device 155 or a headphone of an external electronic device (e.g.,an electronic device 102) directly (e.g., wiredly) or wirelessly coupledwith the electronic device 101.

The sensor module 176 may detect an operational state (e.g., power ortemperature) of the electronic device 101 or an environmental state(e.g., a state of a user) external to the electronic device 101, andthen generate an electrical signal or data value corresponding to thedetected state. According to an embodiment, the sensor module 176 mayinclude, for example, a gesture sensor, a gyro sensor, an atmosphericpressure sensor, a magnetic sensor, an acceleration sensor, a gripsensor, a proximity sensor, a color sensor, an infrared (IR) sensor, abiometric sensor, a temperature sensor, a humidity sensor, or anilluminance sensor.

The interface 177 may support one or more specified protocols to be usedfor the electronic device 101 to be coupled with the external electronicdevice (e.g., the electronic device 102) directly (e.g., wiredly) orwirelessly. According to an embodiment, the interface 177 may include,for example, a high definition multimedia interface (HDMI), a universalserial bus (USB) interface, a secure digital (SD) card interface, or anaudio interface.

A connecting terminal 178 may include a connector via which theelectronic device 101 may be physically connected with the externalelectronic device (e.g., the electronic device 102). According to anembodiment, the connecting terminal 178 may include, for example, a HDMIconnector, a USB connector, a SD card connector, or an audio connector(e.g., a headphone connector).

The haptic module 179 may convert an electrical signal into a mechanicalstimulus (e.g., a vibration or a movement) or electrical stimulus whichmay be recognized by a user via his tactile sensation or kinestheticsensation. According to an embodiment, the haptic module 179 mayinclude, for example, a motor, a piezoelectric element, or an electricstimulator.

The camera module 180 may capture a still image or moving images.According to an embodiment, the camera module 180 may include one ormore lenses, image sensors, image signal processors, or flashes.

The power management module 188 may manage power supplied to theelectronic device 101. According to one embodiment, the power managementmodule 188 may be implemented as at least part of, for example, a powermanagement integrated circuit (PMIC).

The battery 189 may supply power to at least one component of theelectronic device 101. According to an embodiment, the battery 189 mayinclude, for example, a primary cell which is not rechargeable, asecondary cell which is rechargeable, or a fuel cell.

The communication module 190 may support establishing a direct (e.g.,wired) communication channel or a wireless communication channel betweenthe electronic device 101 and the external electronic device (e.g., theelectronic device 102, the electronic device 104, or the server 108) andperforming communication via the established communication channel. Thecommunication module 190 may include one or more communicationprocessors that are operable independently from the processor 120 (e.g.,the application processor (AP)) and supports a direct (e.g., wired)communication or a wireless communication. According to an embodiment,the communication module 190 may include a wireless communication module192 (e.g., a cellular communication module, a short-range wirelesscommunication module, or a global navigation satellite system (GNSS)communication module) or a wired communication module 194 (e.g., a localarea network (LAN) communication module or a power line communication(PLC) module). A corresponding one of these communication modules maycommunicate with the external electronic device via the first network198 (e.g., a short-range communication network, such as Bluetooth™wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA))or the second network 199 (e.g., a long-range communication network,such as a cellular network, the Internet, or a computer network (e.g.,LAN or wide area network (WAN)). These various types of communicationmodules may be implemented as a single component (e.g., a single chip),or may be implemented as multi components (e.g., multi chips) separatefrom each other. The wireless communication module 192 may identify andauthenticate the electronic device 101 in a communication network, suchas the first network 198 or the second network 199, using subscriberinformation (e.g., international mobile subscriber identity (IMSI))stored in the subscriber identification module 196.

The antenna module 197 may transmit or receive a signal or power to orfrom the outside (e.g., the external electronic device) of theelectronic device 101. According to an embodiment, the antenna module197 may include an antenna including a radiating element composed of aconductive material or a conductive pattern formed in or on a substrate(e.g., PCB). According to an embodiment, the antenna module 197 mayinclude a plurality of antennas. In such a case, at least one antennaappropriate for a communication scheme used in the communicationnetwork, such as the first network 198 or the second network 199, may beselected, for example, by the communication module 190 (e.g., thewireless communication module 192) from the plurality of antennas. Thesignal or the power may then be transmitted or received between thecommunication module 190 and the external electronic device via theselected at least one antenna. According to an embodiment, anothercomponent (e.g., a radio frequency integrated circuit (RFIC)) other thanthe radiating element may be additionally formed as part of the antennamodule 197.

At least some of the above-described components may be coupled mutuallyand communicate signals (e.g., commands or data) therebetween via aninter-peripheral communication scheme (e.g., a bus, general purposeinput and output (GPIO), serial peripheral interface (SPI), or mobileindustry processor interface (MIPI)).

According to an embodiment, commands or data may be transmitted orreceived between the electronic device 101 and the external electronicdevice 104 via the server 108 coupled with the second network 199. Eachof the electronic devices 102 and 104 may be a device of a same type as,or a different type, from the electronic device 101. According to anembodiment, all or some of operations to be executed at the electronicdevice 101 may be executed at one or more of the external electronicdevices 102, 104, or 108. For example, if the electronic device 101should perform a function or a service automatically, or in response toa request from a user or another device, the electronic device 101,instead of, or in addition to, executing the function or the service,may request the one or more external electronic devices to perform atleast part of the function or the service. The one or more externalelectronic devices receiving the request may perform the at least partof the function or the service requested, or an additional function oran additional service related to the request, and transfer an outcome ofthe performing to the electronic device 101. The electronic device 101may provide the outcome, with or without further processing of theoutcome, as at least part of a reply to the request. To that end, acloud computing, distributed computing, or client-server computingtechnology may be used, for example.

FIG. 2 illustrates a network environment 200 supporting a dualsubscriber identification module (SIM) according to various embodiments.

Referring to FIG. 2, in a network environment 200 (e.g., a networkenvironment 100 of FIG. 1) an electronic device 101 (e.g., an electronicdevice 101 of FIG. 1) may receive an internet protocol multimediasubsystem (IMS) service from a first server 280 or a second server 290over a first network 205 or a second network 207 (e.g., a network 199 ofFIG. 1). The IMS service may include a voice call service based oninternet protocol (IP), for example, voice over internet protocol(VoIP). The electronic device 101 may perform a voice call based on apacket using the VoIP. When supporting the long term evolution (LTE)specification defined by the 3^(rd) generation partnership project(3GPP), the electronic device 101 may perform a voice call through avoice over LTE (VoLTE) service using a radio frequency (RF) resource ofthe LTE specification.

According to an embodiment, the electronic device 101 may include acommunication module 203 (e.g., a communication module 190 of FIG. 1).The communication module 203 may include an RF module (not shown) forprocessing a signal of an RF band. The electronic device 101 maytransmit the signal processed by the communication module 203 to thefirst network 205 or the second network 207 and may process a signal,received from the first network 205 or the second network 207, using thecommunication module 203.

According to an embodiment, the electronic device 101 (e.g., theelectronic device 101 of FIG. 1) may support a dual SIM. For example,the electronic device 101 may include a first SIM 201 and a second SIM202. The SIM 201 and the second SIM 202 may correspond to a subscriberidentification module 196 of FIG. 1. The first SIM 201 and the secondSIM 202 may provide information associated with user authentication or asecurity function. According to an embodiment, the first SIM 201 and thesecond SIM 202 may correspond to different IMS servers or may correspondto phone numbers of different electronic devices 101. For example, whennetwork operators of the first SIM 201 and the second SIM 202 differfrom each other, the electronic device 101 may receive an IMS servicefrom the first server 280 over the first network 205 when using thefirst SIM 201 and may receive an IMS service from the second server 290over the second network 207 when using the second SIM 202. For anotherexample, a phone number of the electronic device 101 corresponding tothe first SIM 201 may be 010-1234-xxxx, and a phone number of theelectronic device 101 corresponding to the second SIM 202 may be010-4321-xxxx.

According to an embodiment, the electronic device 101 may receive apacket-based VoIP service such as VoLTE using the first SIM 201 or thesecond SIM 202. For example, when network operators of the first SIM 201and the second SIM 202 differ from each other, the electronic device 101may perform a voice call through the first network 205 and the firstserver 280 when using the first SIM 201 and may perform a voice callthrough the second network 207 and the second server 290 when using thesecond SIM 202.

According to an embodiment, the electronic device 101 may include aprocessor 220 (e.g., a processor 120 of FIG. 1). The processor 220 maybe operatively connected with the first SIM 201, the second SIM 202, andthe communication module 203. According to an embodiment, the processor220 may perform overall operations of the electronic device 101 byexecuting instructions stored in a memory 230.

According to an embodiment, the electronic device 101 may include thememory 230 (e.g., a memory 130 of FIG. 1). The memory 230 may storeinstructions causing the processor 220 to perform the overall operationsof the electronic device 101.

According to an embodiment, the first server 280 or the second server290 may provide the electronic device 101 with an IMS service (e.g.,VoIP). In the disclosure, the first server 280 and the second server 290may be referred to as IMS servers. The first server 280 or the secondserver 290 may be a single entity and may be a set of a plurality ofentities. The first server 280 or the second server 290 and theelectronic device 101 may transmit and receive a session initiationprotocol (SIP) message for a voice call.

According to an embodiment, a network (e.g., the first network 205 orthe second network 207) may refer to an architecture which transmitsdata between the electronic device 101 and the first server 280 or thesecond server 290. For example, the network may include a base station(e.g., an evolved node b (eNB)) and an evolved packet core (EPC), whichare defined by the LTE specification. The EPC may include, for example,a mobility management entity (MME), a serving-gateway (S-GW), a packetdata network (PDN)-gateway (P-GW), a policy charging and rules function(PCRF), and a home subscriber service (HSS). The base station 210 may beconnected with the electronic device 101 over a radio channel and mayplay a similar role to an existing radio network controller/base stationcontroller (RNC/BSC). The MME may be a node for controlling a controlplane of the EPC and may perform various functions such as theconnection and release of the radio bearer. The S-GW may be a node forcontrolling a user plane for an LTE radio access network (RAN) in theEPC, which may operate as a mobility anchor for the electronic device101 or may generate or remove a data bearer under control of the MME.The P-GW may be a node for connecting an external network (e.g., theInternet, the first server 280, or the second server 290) with the EPC,which may allocate an IP address to the electronic device 101 and mayapply a quality of service (QoS) according to the PCRF. The PCRF may bea device for controlling a policy associated with a quality of service(QoS) of a user, which may deliver a policy and charging control (PCC)rule corresponding to the policy to the P-GW. The HSS may be a nodehaving subscriber information.

According to an embodiment, in the network, the QoS may be applied foreach evolved packet system (EPS) bearer. One EPS bearer may be used totransmit IP flows having the same QoS requirements. According to anembodiment, the electronic device 101 may transmit voice data to thefirst serve 280 or the second server 290 over the S-GW and the P-GWusing a dedicated EPS bearer. Similarly, the electronic device 101 mayreceive voice data from the first server 280 or the second server 290using the dedicated EPS bearer.

According to an embodiment, the electronic device 101 may be registeredwith the first server 280 or the second server 290 over the network(e.g., the first network 205 or the second network 207). Theregistration may mean that, for example, a packet data network (PDN)between the electronic device 101 and the first server 280 or the secondserver 290 is established by the P-GW. The electronic device 101 mayinitiate the procedure of registration with the first server 280 or thesecond server 290 in booting instance or may initiate the procedure ofregistration when a network environment of the electronic device 101 ischanged. The first server 280 or the second server 290 may identifywhether it is possible for the electronic device 101 to perform VoIP,based on whether the electronic device 101 is registered.

In embodiments described below, it may be assumed that the electronicdevice 101 performs a packet-based voice call (e.g., VoLTE) in theabove-mentioned LTE communication system. However, embodiments below arenot limited to the LTE communication system and are applicable to a 3GPP5^(th) generation (5G) communication system or another packet-basedwireless communication network.

FIG. 3 illustrates a structure of layers of an electronic device 101 forprocessing the VoIP technology according to various embodiments.

When instructions (or commands) stored in a memory 130 (e.g., a memory130 of FIG. 1 or a memory 230 of FIG. 2) are executed by a processor 220(e.g., a processor 220 of FIG. 2), data for a voice call may beprocessed by a program 140 (e.g., a program 140 of FIG. 1) including theinstructions. The data processed by the program 140 may be transmittedthrough a modem 330, and data received through the modem 330 may beprocessed by the program 140. According to an embodiment, the modem 330may be included in an auxiliary processor 123 of FIG. 1 or acommunication module 203 of FIG. 2.

According to an embodiment, the program 140 may be referred to assoftware or a module. The program 140 may include an application layer310 and a framework layer 320. Although not illustrated in FIG. 3, theprogram 140 may further include a kernel layer below the framework layer320.

According to an embodiment, the application layer 310 may include theapplication 146 of FIG. 1. For example, the application layer 310 mayinclude a contact application or a call application. The applicationlayer 310 may perform a function of providing a user with variousservices (e.g., an IMS service, an internet service, and the like)provided from an external network (e.g., a first server 280 or a secondserver 290 of FIG. 2). According to an embodiment, the application layer310 may store information associated with a contact of anotherelectronic device or information associated with a SIM. The informationassociated with the contact may include, for example, at least one of aphone number, a user name, an address, or an e-mail address of the otherelectronic device. The information associated with the SIM may include,for example, a type (e.g., the first SIM 201 or the second SIM 202) of aSIM used in the other electronic device, a phone number corresponding tothe SIM, and information about whether to release the informationassociated with the SIM. The information about whether to release theinformation may be stored in, for example, a flag data format.

According to an embodiment, the framework layer 320 may perform dataprocessing for delivering data for the IMS service or the internetservice to the modem 330. The framework layer 320 may include atelephony 322, a radio interface layer (RIL) 324, and an IMS 326.

According to an embodiment, the telephony 322 may provide an applicationprogramming interface (API) for accessing (e.g., transmitting andreceiving data) the modem 330 via the RIL 324 at the application layer310. The telephony 322 may include, for example, a callorigination/termination service, a data service, a SIM recognitionservice, an SMS, a network search and connection service, or the like.The API provided by the telephony 322 may vary with a type (e.g., GSM,CDMA, or IMS) of network to which data is transmitted via the modem 330.

According to an embodiment, the RIL 324 may provide an interfaceassociated with wireless communication between the program 140 and themodem 330. For example, applications included in the application layer310 may control the modem 330 through the RIL 324 using the API providedfrom the telephony 322 and may transmit and receive a message with themodem 330.

According to an embodiment, the IMS 326 may process data associated withan IMS service. For example, when a call application is executed in theelectronic device 101 and when the electronic device 101 receives a userinput requesting a voice call from another electronic device from theuser, the IMS 326 may generate a message (e.g., an SIP INVITE message)requesting the voice call and may deliver the generated message to themodel 330 via the RIL 324. For another example, when a messagerequesting the voice call from the electronic device 101 is received viathe modem 330 from the other electronic device, the IMS 326 may deliverthe received message to the application layer 310 to notify the user ofthe electronic device 101 that the call request is received.

According to an embodiment, the IMS 326 may store the informationassociated with the contact of the other electronic device or theinformation associated with the SIM. The information stored by the IMS326 may be the same as the information stored by the application layer310, or at least a portion of the information may be stored in anotherformat. According to an embodiment, the information associated with theSIM may be stored in a mapping table format.

According to an embodiment, the modem 330 may process a transmitted andreceived message in a baseband. The modem 330 may transmit the dataprocessed in the baseband to the first server 280 or the second server290 via a communication module 203 of FIG. 2. According to anembodiment, when a voice call is established between the electronicdevice 101 and anther electronic device, the electronic device 101 maytransmit and receive voice data via the modem 330 without interventionof the IMS 326. For example, the modem 330 may establish a user datagramprotocol (UDP) layer or a transmission control protocol (TCP) layer withanother electronic device and may transmit and receive a real-timetransport protocol (RTP) packet, thus providing a user with a callfunction.

FIG. 4 illustrates a signal sequence diagram of an electronic device,which transmits information associated with a SIM, and anotherelectronic device according to various embodiments.

Referring to FIG. 4, in a network environment 400 (e.g., a networkenvironment 100 of FIG. 1 or a network environment 200 of FIG. 2), afirst electronic device 401 and a second electronic device 403 may referto entities for performing a voice call based on VoIP. The electronicdevice 401 and the second electronic device 403 may be the same as anelectronic device 101 shown in FIG. 1, FIG. 2, and FIG. 3, or at least aportion thereof may include another component. The electronic device 401and the second electronic device 403 may be implemented in a similarprinciple to an operation principle of the electronic device 101 shownin FIG. 1, FIG. 2, and FIG. 3.

According to an embodiment, an IMS server 402 may include a first server280 or a second server 290 of FIG. 2. For example, when the firstelectronic device 201 uses a second SIM 202, the IMS server 402 mayrefer to the second server 290.

According to an embodiment, in operation 405, the first electronicdevice 401 may receive a user input changing from a first SIM 201 to thesecond SIM 202. In response to the user input, the first electronicdevice 401 may change a SIM used in the first electronic device 401 fromthe first SIM 201 to the second SIM 202.

According to an embodiment, in operation 410, the first electronicdevice 401 may transmit information associated with the SIM to thesecond electronic device 403. The information associated with the SIMmay include, for example, information associated with the first SIM 201or information associated with the second SIM 202. According to anembodiment, the first electronic device 401 may adaptively transmit theinformation associated with the second SIM 202 based on whether thesecond electronic device 403 is IMS registered. For example, when thesecond electronic device 403 is IMS registered, the first electronicdevice 401 may transmit the information associated with the second SIM202 to the second electronic device 403 using an SIP message. Foranother example, when the second electronic device 404 is not IMSregistered, the first electronic device 401 may transmit the informationassociated with the second SIM 202 using a hypertext transfer protocol(HTTP) or a short message service (SMS).

According to an embodiment, the first electronic device 401 may identifywhether the second electronic device 403 is IMS registered, via the IMSserver 402. For example, the first electronic device 401 may receive amessage, indicating whether other electronic devices registered with acontact of the first electronic device 401 are IMS registered,periodically per specified time from the IMS server 402. For anotherexample, when an IMS registration state of the second electronic device403 is changed, the first electronic device 401 may receive a messageindicating whether the second electronic device 403 is IMS registeredfrom the IMS server 402.

According to an embodiment, in operation 415, the second electronicdevice 403 may receive a user input requesting a voice call for thefirst SIM 201. For example, the second electronic device 403 may receivea user input selecting a contact of the first electronic device 401(e.g., a user name of the first electronic device 401) in a contact liststored in the second electronic device 403. For another example, thesecond electronic device 403 may receive a user input inputting a phonenumber (e.g., 010-1234-xxxx) corresponding to the first SIM 201 of thefirst electronic device 401.

According to an embodiment, in operation 420, the second electronicdevice 403 may transmit a message requesting a voice call for the secondSIM 202 to the IMS server 402. The request message may include, forexample, an SIP INVITE message.

According to an embodiment, in operation 425, the IMS server 402 maytransmit a message (e.g., an SIP INVITE message) requesting a voice callto the first electronic device 401. According to an embodiment, whilethe first electronic device 401 performs a voice call with anotherelectronic device rather than the second electronic device 403 using thesecond SIM 405, the IMS server 402 may notify the first electronicdevice 401 that the second electronic device 403 requests the voice callby transmitting a paging signal.

According to various embodiments, although the first electronic device401 changes the SIM, when the second electronic device 403 knowsinformation associated with the changed SIM (e.g., the second SIM 202)in advance, it may request a voice call through the changed SIM. Thus,although the first electronic device 401 is performing a voice callaccording to VoIP through the changed SIM, the first electronic device401 may notify a user that the second electronic device 403 requests thevoice call by receiving a message requesting the voice call from the IMSserver 402.

FIG. 5 illustrates an operational flowchart of an electronic device 101for transmitting information associated with a SIM according to variousembodiments. Operations shown in FIG. 5 may be performed by a firstelectronic device 401 or a component (e.g., a processor 120 of FIG. 1)included in the first electronic device 401.

Referring to FIG. 5, in operation 505 of method 500, the firstelectronic device 401 (e.g., the processor 120) according to anembodiment may receive a user input changing from a first SIM 201 to asecond SIM 202. According to an embodiment, the first SIM 201 and thesecond SIM 202 may differ from each other in a phone number and anetwork operator of the electronic device 101. According to anembodiment, the first electronic device 401 (e.g., at least one of acall application, a contact application, or a setting application) maydisplay a user interface (UI) associated with a SIM change.

According to an embodiment, in operation 510, the first electronicdevice 401 may transmit information associated with the second SIM 202to the second electronic device 403. For example, when the secondelectronic device 403 is IMS registered, the first electronic device 401may transmit the information associated with the second SIM 202 using anSIP message. For another example, when the second electronic device 403is not IMS registered, the first electronic device 401 may transmit theinformation associated with the second SIM 202 using an HTTP or an SMS.According to an embodiment, the information associated with the secondSIM 202 may include data indicating whether to release the informationassociated with the second SIM 202. For example, when receiving a userinput making the information associated with the second SIM 202 private,the first electronic device 401 may generate data to indicate that theinformation associated with the second SIM 202 is private. According toan embodiment, the first electronic device 401 (e.g., the callapplication, the contact application, or the setting application) maydisplay a UI, setting whether to release the information associated withthe first SIM 201 or the second SIM 202 to a counterpart, on its screen.

In operation 515, the first electronic device 401 may receive a messagerequesting a voice call for the second SIM 202. The message requestingthe voice call may include, for example, an SIP INVITE message.According to an embodiment, the first electronic device 401 may receivea message requesting a voice call during the voice call with a thirdelectronic device different from the second electronic device 403.

FIG. 6 illustrates a user interface (UI) for setting whether to releaseinformation associated with a SIM according to various embodiments.

Referring to FIG. 6, a first electronic device (e.g., an electronicdevice 101 of FIG. 1 or a first electronic device 401 of FIG. 4) maydisplay a screen 600 indicating a contact of another electronic deviceon a display (e.g., a display device 160 of FIG. 1). The otherelectronic device may include, for example, a second electronic device403 of FIG. 4. In a screen 600, the first electronic device 401 maydisplay a first UI 630 for setting whether to release informationassociated with a first SIM 201 and a second UI 640 for setting whetherto release information associated with a second SIM 202.

According to an embodiment, the first electronic device 401 may displaythe first UI 630 and the second UI 640 below a first region 620displaying a phone number of another electronic device. Locations of thefirst UI 630 and the second UI 640 shown in FIG. 6 are merelyillustrative, and the locations of the first UI 630 and the second UI640 may be changed. For example, the first electronic device 401 maydisplay the first UI 630 and the second UI 640 between a second region610 indicating an image or an emoticon of the other electronic deviceand the first region 620. For another example, the first electronicdevice 401 may arrange the first UI 630 and the second UI 640 above thesecond region 610.

According to an embodiment, the first electronic device 401 may receivea user input changing at least one of information associated with thefirst SIM 201 and information associated with the second SIM 202 via thefirst UI 630 and the second UI 640. For example, the first electronicdevice 401 may receive a user input making the information associatedwith the second SIM 202 private, while a screen (e.g., the screen 600)indicating a contact of the second electronic device 403 is displayed.In this case, information transmitted to the second electronic device403 may include data indicating that the information associated with thesecond SIM 202 is private.

FIG. 7 illustrates an operational flowchart of an electronic device fortransmitting a voice call request message based on informationassociated with a SIM according to various embodiments. Operations shownin FIG. 7 may be performed by an electronic device 403 or a component(e.g., a processor 120 of FIG. 1) included in the second electronicdevice 403.

Referring to FIG. 7, in operation 705 of method 700, a second electronicdevice 403 (e.g., a processor 120 of FIG. 1) according to an embodimentmay receive information associated with a second SIM 202 of a firstelectronic device 401 from the first electronic device 401. According toan embodiment, when the second electronic device 403 is IMS registered,it may receive the information associated with the second SIM 202 usingan SIP message. For another example, when the second electronic device403 is not IMS registered, it may receive the information associatedwith the second SIM 202 using an HTTP or an SMS.

According to an embodiment, in operation 710, the second electronicdevice 403 may receive a user input requesting a voice call for thefirst SIM 401 of the first electronic device 401. For example, thesecond electronic device 403 may receive a user input selecting acontact of the first electronic device 401 (e.g., a user name of thefirst electronic device 401) in a contact list stored in the secondelectronic device 403. For another example, the second electronic device403 may receive a user input inputting a phone number (e.g.,010-1234-xxxx) corresponding to the first SIM 201 of the firstelectronic device 401.

According to an embodiment, in operation 715, the second electronicdevice 403 may transmit a message requesting a voice call for the secondSIM 202 to the IMS server 402. The message requesting the voice call mayinclude, for example, an SIP INVITE message.

FIG. 8 illustrates an operational flowchart of an electronic device forstoring information associated with a second SIM according to variousembodiments. Operations shown in FIG. 8 may refer to operationsperformed by operation 705 of FIG. 7 according to an embodiment.

Referring to FIG. 8, in operation 805, a second electronic device 403according to an embodiment may receive information associated with asecond SIM 202. According to an embodiment, the information associatedwith the second SIM 202 may include data indicating whether to releasethe information associated with the second SIM 202.

According to an embodiment, in operation 810, the second electronicdevice 403 may identify whether the information associated with thesecond SIM 202 is private. When the information associated with thesecond SIM 202 is not private (N), the second electronic device 403 mayperform operation 815. When the information associated with the secondSIM 202 is private (Y), the second electronic device 403 may performoperation 820.

According to an embodiment, in operation 815, the second electronicdevice 403 may store the information associated with the second SIM 202through a framework layer 320 or an application layer 310. For example,the second electronic device 403 may store the information associatedwith the second SIM 202 through an IMS 326 of the framework layer 320and a call application of the second electronic device 403. Informationstored by the IMS 326 may fail to be displayed to a user of the secondelectronic device 403, whereas information stored by the callapplication may be displayed to the user of the second electronic device403. According to an embodiment, a file format of the information storedby the IMS 326 and a file format of the information stored by the callapplication may differ from each other.

According to an embodiment, in operation 820, the second electronicdevice 403 may store the information associated with the second SIM 202through the framework 320. The information stored by the framework 320,that is, the IMS 326 may fail to be displayed to the user of the secondelectronic device 403. According to an embodiment, informationassociated with the SIM, which is stored by the framework 320 (or thecall application), (e.g., the information associated with the second SIM202) may be represented in a mapping table format as shown in Table 1below.

TABLE 1 SIM Type Phone Number Release Main SIM 010-4321-xxxx PrivateSecondary SIM 010-1234-xxxx Public

Because the second electronic device 403 identifies that the SIM of thefirst electronic device 401 is changed, a main SIM in Table 1 mayinclude phone number (010-4321-xxxx) information corresponding to thesecond SIM 202. According to an embodiment, information indicatingwhether to release a phone number corresponding to the first SIM 201 orthe second SIM 202 may be represented in a flag data format of 1 bit.

According to various embodiments, according to a request of the user ofthe first electronic device 401, the information associated with thesecond SIM 202 may fail to be released to the user of the secondelectronic device 403. As information about a specified SIM is notexposed, private information of the user of the first electronic device401 using a dual SIM may be protected.

FIG. 9 illustrates an operational flowchart of an electronic device forselectively displaying information associated with a second SIMaccording to various embodiments. Operations shown in FIG. 9 may referto operations performed by operations 710 and 715 of FIG. 7 according toan embodiment.

Referring to FIG. 9, the second electronic device 403 (e.g., a processor120 of FIG. 1) according to an embodiment may receive a user inputrequesting a voice call for a first SIM 201 of a first electronic device401. Because the second electronic device 403 receives informationassociated with a second SIM 202 in operation 705 of FIG. 7, it maydetermine to transmit a message requesting a voice call for the secondSIM 202 rather than the first SIM 201.

In operation 910, the second electronic device 403 may identify whetherthe information associated with the second SIM 202 is private. When theinformation associated with the second SIM 202 is not private (N), inoperation 915, the second electronic device 403 may display a phonenumber (e.g., 010-4321-xxxx) corresponding to the second SIM 202 on itsdisplay and may perform operation 920. When the information associatedwith the second SIM 202 is private (Y), the second electronic device 403may perform operation 920 without performing operation 915. FIG. 9illustrates an embodiment where operation 915 and operation 920 aresequentially performed, but an order where operation 915 and operation920 are performed is not limited to the example shown in FIG. 9. Forexample, the second electronic device 403 may perform operation 915 andoperation 920 at the same time or may perform operation 915 afterperforming operation 920.

FIG. 10 illustrates an operation of displaying a phone number for asecond SIM according to various embodiments. FIG. 10 may refer to adrawing illustrating the embodiment shown in FIG. 9.

As shown in reference numeral 1001 of FIG. 10, a second electronicdevice 403 may receive a user input requesting a voice call for a firstSIM 201. For example, the second electronic device 403 may receive auser input inputting a phone number (e.g., 010-1234-xxxx) correspondingto the first SIM 201 of a first electronic device 401 through a keypadof a call application. For another example, although not illustrated inFIG. 10, the second electronic device 403 may receive a user inputselecting a contact of the first electronic device 401 in a contact listof the second electronic device 403.

According to an embodiment, when information associated with a secondSIM 202 is private, as shown in reference numeral 1002, the secondelectronic device 403 may fail to display a phone number (e.g.,010-4321-xxxx) corresponding to the second SIM 202 and may display auser name (e.g., “my younger brother”) of the first electronic device401.

According to an embodiment, when the information associated with thesecond SIM 202 is public, as shown in reference numeral 1003, the secondelectronic device 403 may display the phone number corresponding to thesecond SIM 202 together with the user name of the first electronicdevice 401. Although not illustrated in FIG. 10, the second electronicdevice 403 may separately display a UI indicating that the SIM used bythe first electronic device 401 changes from the first SIM 401 to thesecond SIM 403 on its display.

As described above, an electronic device (e.g., an electronic device 101of FIG. 1 or a second electronic device 403 of FIG. 4) may include acommunication module (e.g., a communication module 203), a processor(e.g., a processor 220 of FIG. 2) operatively connected with thecommunication module, and a memory (e.g., a memory 220 of FIG. 2)operatively connected with the processor. The memory may includeinstructions, when executed by the processor, causing the processor toreceive information associated with another electronic device from theother electronic device (e.g., a first electronic device 401 of FIG. 4)via the communication module, receive a user input requesting a voicecall for a first SIM of the other electronic device, and transmit amessage requesting a voice call to a second SIM of the other electronicdevice to an IMS server (e.g., an IMS server 402 of FIG. 4) via thecommunication module based on the information associated with the SIM.

According to an embodiment, the processor is configured to receive theinformation associated with the SIM using an SIP message.

According to an embodiment, the processor is configured to receive theinformation associated with the SIM using an HTTP or an SMS.

According to an embodiment, the processor is configured to identifywhether information associated with the second SIM is private, based onthe information associated with the SIM, and store the informationassociated with the second SIM through a framework layer of theelectronic device, when the information associated with the second SIMis private.

According to an embodiment, the processor is configured to identifywhether information associated with the second SIM is private, based onthe information associated with the SIM, and store the informationassociated with the second SIM through a framework layer and anapplication layer of the electronic device, when the informationassociated with the second SIM is public.

According to an embodiment, the processor is configured to identifywhether information associated with the second SIM is private, based onthe information associated with the SIM, and display a phone numbercorresponding to the second SIM on a display of the electronic device,when the information associated with the second SIM is public.

According to an embodiment, the processor is configured to identifywhether information associated with the second SIM is private, based onthe information associated with the SIM, and display a phone numbercorresponding to the first SIM on a display of the electronic device,when the information associated with the second SIM is private.

According to an embodiment, the processor is configured to, when a voicecall is established with the other electronic device, perform the voicecall with the other electronic device using VoIP.

As described above, an electronic device (e.g., an electronic device ofFIG. 1 or a first electronic device 401 of FIG. 4) may include a firstSIM (e.g., a first SIM 201 of FIG. 2), a second SIM (e.g., a second SIM202 of FIG. 2), a communication module (e.g., a communication module 203of FIG. 2), a processor (e.g., a processor 220 of FIG. 2) operativelyconnected with the first SIM, the second SIM, and the communicationmodule, and a memory (e.g., a memory 230 of FIG. 2) operativelyconnected with the processor. The memory may include instructions, whenexecuted by the processor, causing the processor to receive a user inputchanging from the first SIM to the second SIM, transmit informationassociated with the second SIM to another electronic device (e.g., asecond device 403 of FIG. 4) via the communication module, and receive amessage requesting a voice call for the second SIM from an IMS server(e.g., an IMS server 402 of FIG. 2) via the communication module.

According to an embodiment, the processor is configured to receive auser input making the information associated with the second SIM privateand generate the information associated with the second SIM, theinformation including data indicating that the information associatedwith the second SIM is private.

According to an embodiment, the processor is configured to display ascreen indicating a contact of the other electronic device on a displayof the electronic device and display a UI for making the informationassociated with the second SIM private, in the screen.

According to an embodiment, the processor is configured to display theUI below a region displaying a phone number of the other electronicdevice in the screen.

According to an embodiment, the processor is configured to identifywhether the other electronic device is IMS registered and transmitinformation associated with the second SIM using an SIP message, whenthe other electronic device is IMS registered.

According to an embodiment, the processor is configured to transmitinformation associated with the second SIM using an HTTP or an SMS, whenthe other electronic device is not IMS registered.

According to an embodiment, the processor is configured to perform avoice call with the other electronic device using VoIP.

As described above, a method of an electronic device (e.g., a secondelectronic device 403 of FIG. 4) may include receiving informationassociated with a SIM of another electronic device from the otherelectronic device (e.g., a first electronic device 401 of FIG. 4),receiving a user input requesting a voice call for a first SIM of theother electronic device, and transmitting a message requesting a voicecall for a second SIM of the other electronic device to an IMS serverbased on the information associated with the SIM.

According to an embodiment, the receiving of the information associatedwith the SIM may include receiving the information associated with theSIM using at least one of an SIP message, an HTTP, or an SMS.

According to an embodiment, the method may further include identifyingwhen the information associated with the second SIM is private, based onthe information associated with the SIM, and storing the informationassociated with the second SIM through a framework layer of theelectronic device, when the information associated with the second SIMis private.

According to an embodiment, the method may further include storing theinformation associated with the second SIM through the framework layerand an application layer of the electronic device, when the informationassociated with the second SIM is public.

According to an embodiment, the method may further include displaying aphone number for the second SIM on a display of the electronic device,when the information associated with the second SIM is public.

The electronic device according to various embodiments may be one ofvarious types of electronic devices. The electronic devices may include,for example, a portable communication device (e.g., a smartphone), acomputer device, a portable multimedia device, a portable medicaldevice, a camera, a wearable device, or a home appliance. According toan embodiment of the disclosure, the electronic devices are not limitedto those described above.

It should be appreciated that various embodiments of the presentdisclosure and the terms used therein are not intended to limit thetechnological features set forth herein to particular embodiments andinclude various changes, equivalents, or replacements for acorresponding embodiment. With regard to the description of thedrawings, similar reference numerals may be used to refer to similar orrelated elements. It is to be understood that a singular form of a nouncorresponding to an item may include one or more of the things, unlessthe relevant context clearly indicates otherwise. As used herein, eachof such phrases as “A or B,” “at least one of A and B,” “at least one ofA or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least oneof A, B, or C,” may include any one of, or all possible combinations ofthe items enumerated together in a corresponding one of the phrases. Asused herein, such terms as “1st” and “2nd,” or “first” and “second” maybe used to simply distinguish a corresponding component from another,and does not limit the components in other aspect (e.g., importance ororder). It is to be understood that if an element (e.g., a firstelement) is referred to, with or without the term “operatively” or“communicatively”, as “coupled with,” “coupled to,” “connected with,” or“connected to” another element (e.g., a second element), it means thatthe element may be coupled with the other element directly (e.g.,wiredly), wirelessly, or via a third element.

As used herein, the term “module” may include a unit implemented inhardware, software, or firmware, and may interchangeably be used withother terms, for example, “logic,” “logic block,” “part,” or“circuitry”. A module may be a single integral component, or a minimumunit or part thereof, adapted to perform one or more functions. Forexample, according to an embodiment, the module may be implemented in aform of an application-specific integrated circuit (ASIC).

Various embodiments as set forth herein may be implemented as software(e.g., the program 140) including one or more instructions that arestored in a storage medium (e.g., internal memory 136 or external memory138) that is readable by a machine (e.g., the electronic device 101).For example, a processor(e.g., the processor 120) of the machine (e.g.,the electronic device 101) may invoke at least one of the one or moreinstructions stored in the storage medium, and execute it, with orwithout using one or more other components under the control of theprocessor. This allows the machine to be operated to perform at leastone function according to the at least one instruction invoked. The oneor more instructions may include a code generated by a compiler or acode executable by an interpreter. The machine-readable storage mediummay be provided in the form of a non-transitory storage medium. Wherein,the term “non-transitory” simply means that the storage medium is atangible device, and does not include a signal (e.g., an electromagneticwave), but this term does not differentiate between where data issemi-permanently stored in the storage medium and where the data istemporarily stored in the storage medium.

According to an embodiment, a method according to various embodiments ofthe disclosure may be included and provided in a computer programproduct. The computer program product may be traded as a product betweena seller and a buyer. The computer program product may be distributed inthe form of a machine-readable storage medium (e.g., compact disc readonly memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded)online via an application store (e.g., PlayStore™), or between two userdevices (e.g., smart phones) directly. If distributed online, at leastpart of the computer program product may be temporarily generated or atleast temporarily stored in the machine-readable storage medium, such asmemory of the manufacturer's server, a server of the application store,or a relay server.

According to various embodiments, each component (e.g., a module or aprogram) of the above-described components may include a single entityor multiple entities. According to various embodiments, one or more ofthe above-described components may be omitted, or one or more othercomponents may be added. Alternatively or additionally, a plurality ofcomponents (e.g., modules or programs) may be integrated into a singlecomponent. In such a case, according to various embodiments, theintegrated component may still perform one or more functions of each ofthe plurality of components in the same or similar manner as they areperformed by a corresponding one of the plurality of components beforethe integration. According to various embodiments, operations performedby the module, the program, or another component may be carried outsequentially, in parallel, repeatedly, or heuristically, or one or moreof the operations may be executed in a different order or omitted, orone or more other operations may be added.

1. An electronic device comprising: a communication module; a processoroperatively connected with the communication module; and a memoryoperatively connected with the processor, wherein the memory includesinstructions, when executed by the processor, causing the processor to:receive information associated with a subscriber identification module(SIM) of another electronic device from the other electronic device viathe communication module; receive a user input requesting a voice callfor a first SIM of the other electronic device; and transmit a messagerequesting a voice call for a second SIM of the other electronic deviceto an internet protocol multimedia subsystem (IMS) server via thecommunication module based on the information associated with the SIM.2. The electronic device of claim 1, wherein the processor is configuredto: receive the information associated with the SIM using a sessioninitiation protocol (SIP) message.
 3. The electronic device of claim 1,wherein the processor is configured to: receive the informationassociated with the SIM using a hypertext transfer protocol (HTTP) or ashort message service (SMS).
 4. The electronic device of claim 1,wherein the processor is configured to: identify whether informationassociated with the second SIM is private, based on the informationassociated with the SIM; and store the information associated with thesecond SIM through a framework layer of the electronic device, when theinformation associated with the second SIM is private.
 5. The electronicdevice of claim 1, wherein the processor is configured to: identifywhether information associated with the second SIM is private, based onthe information associated with the SIM; and store the informationassociated with the second SIM through a framework layer and anapplication layer of the electronic device, when the informationassociated with the second SIM is public.
 6. The electronic device ofclaim 1, wherein the processor is configured to: identify whetherinformation associated with the second SIM is private, based on theinformation associated with the SIM; and display a phone numbercorresponding to the second SIM on a display of the electronic device,when the information associated with the second SIM is public.
 7. Theelectronic device of claim 1, wherein the processor is configured to:identify whether information associated with the second SIM is private,based on the information associated with the SIM; and display a phonenumber corresponding to the first SIM on a display of the electronicdevice, when the information associated with the second SIM is private.8. The electronic device of claim 1, wherein the processor is configuredto: when a voice call is established with the other electronic device,perform the voice call with the other electronic device using voice overinternet protocol (VoIP).
 9. An electronic device comprising: a firstSIM; a second SIM; a communication module; a processor operativelyconnected with the first SIM, the second SIM, and the communicationmodule; and a memory operatively connected with the processor, whereinthe memory includes instructions, when executed by the processor,causing the processor to: receive a user input changing from the firstSIM to the second SIM; transmit information associated with the secondSIM to another electronic device via the communication module; andreceive a message requesting a voice call for the second SIM from an IMSserver via the communication module.
 10. The electronic device of claim9, wherein the processor is configured to: receive a user input makingthe information associated with the second SIM private; and generate theinformation associated with the second SIM, the information includingdata indicating that the information associated with the second SIM isprivate.
 11. The electronic device of claim 9, wherein the processor isconfigured to: display a screen indicating a contact of the otherelectronic device on a display of the electronic device; and display auser interface (UI) for making the information associated with thesecond SIM private, in the screen.
 12. The electronic device of claim11, wherein the processor is configured to: display the UI below aregion displaying a phone number of the other electronic device in thescreen.
 13. The electronic device of claim 9, wherein the processor isconfigured to: identify whether the other electronic device is IMSregistered; and transmit the information associated with the second SIMusing an SIP message, when the other electronic device is IMSregistered.
 14. The electronic device of claim 13, wherein the processoris configured to: transmit the information associated with the secondSIM using an HTTP or an SMS, when the other electronic device is not IMSregistered.
 15. The electronic device of claim 9, wherein the processoris configured to: perform a voice call with the other electronic deviceusing VoIP.